from myDatabase import Base
from sqlalchemy import Column, Integer, String, DateTime, Text, SmallInteger

class myArticle(Base):
    __tablename__ = "Article"
    id = Column(Integer, primary_key=True, comment="main_id")
    docid = Column(String(30), comment="文章ID")
    ptime = Column(DateTime, comment="时间")
    channel = Column(String(20), comment="频道")
    category = Column(String(20), comment="类型")
    link = Column(String(100), comment="链接")
    source = Column(String(20), comment="来源")
    title = Column(Text, comment="标题")
    digest = Column(Text, comment="摘要")
    unlikeReason  = Column(String(100), comment="不喜欢")
